package com.atomos.strategy.action.display
{
	import com.atomos.particle.DisplayObjectParticle;
	import com.atomos.particle.Particle;
	import com.atomos.strategy.action.AbstractLifeTweenAction;	

	public class AlphaLifeTweenAction extends AbstractLifeTweenAction
	{
		
		public function AlphaLifeTweenAction ( startValue : Number, endValue : Number, easing : Function = null )
		{
			super( startValue, endValue, easing );
		}
		
		override protected function _update( particle : Particle, value : Number ) : void
		{
			var p : DisplayObjectParticle = particle as DisplayObjectParticle;
			
			p.alpha = value;
		}
		
	}
}